﻿using System;
using System.Collections.Generic;
using System.Linq;
using Sendz.Domain;

namespace Sendz.Model
{
    public interface IAutoResponderRepository
    {
        #region AutoResponders /////////////////////////////

        IList<AutoResponder> GetAutoRespondersByUserKey(Guid userKey);

        AutoResponder GetAutoResponderByKey(Guid autoResponderKey);

        bool SaveAutoResponder(AutoResponder autoResponder);

        bool RemoveAutoResponder(Guid autoResponderKey);

        #endregion

        #region Attachments //////////////////////////

        bool AddAttachment(Attachment attachment);

        IList<Attachment> GetAttachments(Guid autoResponderKey);

        Attachment RemoveAttachment(Guid attachmentKey);

        #endregion
    }
}
